On the behavior of the LixNiO2 system: an electrochemical and structural overview