Rationalization of the X-ray photoelectron spectroscopy of aluminium phosphates synthesized from different precursors