Facile ammonia-induced fabrication of nanoporous NiO films with enhanced lithium-storage properties