Transient protonation changes in channelrhodopsin-2 and their relevance to channel gating