Synthesis of mesoporous titanium phosphate