An XPS study of the UV reduction and photochromism of MoO3 and WO3