The Danish prime minister has said "you cannot spy against an ally" after the US reportedly stepped up intelligence gathering on Greenland.