The phase behavior of lipids in photosynthetic membranes