Hydro(solvo)thermal in situ ligand syntheses