Scientists have secured more than £1 million in funding to turn seawater into fuel to power ships, ferries and fishing boats.