Chemical approaches to the elucidation of template biosynthesis: study of replication and reverse transcription