Danish troops have been told to "shoot first, ask questions later" in the event of a US attack on Greenland.