Structure of the mammalian TRPM7, a magnesium channel required during embryonic development