Effect of temperature on the structure of charged membranes