Electrical conduction and thermodynamic properties of K2NiP2O7