XES, XPS and NEXAFS studies of the electronic structure of cubic MoO1.9 and H1.63MoO3 thick films