Inherent electrochemistry of layered post-transition metal halides: The unexpected effect of potential cycling of PbI2