Global maritime sector agrees deal on carbon-reduction target