Hydrogen-powered submarines