Temporal recording of mammalian development and precancer