Nanocrystalline NiP alloys: XPS, EDXD and electrochemical characterization