Synthesis of nucleic acid polymers with non-canonical nucleobases