Potassium mitigates salt-stress impacts on photosynthesis by alleviation of the proton diffusion potential in thylakoids