The US could be allowed to step up its military presence in Greenland, the prime minister of Denmark has said.