Offshore hydrogen production from wave energy