The buffering capacity of the internal phase of thylakoids and the magnitude of the pH changes inside under flashing light