Maersk boosts profits, warns of tariffs slowing trade