Magnesium-solution phase catholyte semi-fuel cell for undersea vehicles