A self-consistent chain model for the phase transitions in lipid bilayer membranes.