Synthetic recording and in situ readout of lineage information in single cells