X‐ray photoelectron spectroscopic studies of thin film oxides of cobalt and molybdenum