Britain is to join a major new ocean science programme led by the European Union, as Andy Burnham's government seeks closer ties with the bloc.