Fabrication and magnetic properties of Co–Ni–P rod-shaped hollow structures based on Bacillus template