Nickel oxide–polypyrrole nanocomposite electrode materials for electrocatalytic water oxidation