Synthesis of ternary NiCoP nanowire alloy and its enhanced electrochemical catalytic activity