Enhanced electrochemical performance of porous NiO–Ni nanocomposite anode for lithium ion batteries