Facile fabrication of three-dimensional porous ZnO thin films on Ni foams for lithium ion battery anodes