A theoretical model for lipid mixtures, phase transitions, and phase diagrams.