Conformational ensembles of the magnesium channel CorA reveal structural basis for channel gating | Synapse