Synthesis and performance of Zn–Ni–P thin films