The G-M-N motif determines ion selectivity in the yeast magnesium channel Mrs2p