Abiotic synthesis of RNase-resistant phosphodiester and pyrophosphate-linked polymers via thermodynamically controlled wet-dry cycling