Enhanced electrochemical properties of a LiNiO2-based cathode material by removing lithium residues with (NH4)2HPO4