Ceremonial texts and the book of the dead offer glimpses into ancient Egyptian beliefs about immortality