Formamide-based syntheses and degradations of nucleic acids precursors in prebiotic conditions