Chemical precipitation synthesis of porous Ni2P2O7 nanowires for supercapacitor