Synthesis of perfluoroalkylated heterocyclic phosphonates