Electrostatic effects on lipid phase transitions: membrane structure and ionic environment.