Mechanism of photocatalytic decomposition of water into H2 and O2 over NiO$z.sbnd;SrTiO3