Synthesis of acyclic and cyclic phosphonates based on substituted 2-hydroxybenzylic alcohols