Molecular ice could enable life on alien ocean planets