Template-based synthesis of Ni nanorods on silicon substrate