NiCo2 Alloys: Controllable Synthesis, Magnetic Properties, and Catalytic Applications in Reduction of 4-Nitrophenol