Synthesis of amide- and ester-functionalized zirconium phosphonates