Transitions between lamellar and non-lamellar phases in membrane lipids and their physiological roles