New synthetic methods for carbocyclic and heterocyclic compounds bearing phosphonate moiety with biological significances