European leaders have warned US President Donald Trump that his plan to impose tariffs unless and until he has full control of Greenland would "undermine transatlantic relations".