Fabrication of a Ti/TiO2/NiO electrode for electrocatalytic nitrite removal