Kinetics of proton release and uptake by channelrhodopsin-2