The prosecution says Kouri Richins tried to cover her tracks by publishing a book on grief after killing her husband