Vibrational spectra of molten and aqueous NaClO3 and KClO3