Fast and scale-up synthesis of amorphous C,N co-doped mesoporous Co-based phosphates as advanced electrodes for supercapacitors and water oxidation