An investigation into the formation and conversion of metal complexes to metal oxide nanoparticles in supercritical water