An ion‐exchange model for thylakoid stacking in chloroplasts