Surface charge dynamics in photosynthetic membranes and the structural consequences