The leaders of Denmark and Greenland have urged US President Donald Trump to stop threatening to take over Greenland, after he reiterated his wish to do so in an interview.