Oxygen substitution in sputter-deposited MoS2 films studied by extended X-ray absorption fine structure, X-ray photoelectron spectroscopy and X-ray diffraction