Denmark's Prime Minister Mette Frederiksen has said you "cannot spy against an ally" after reports of US gathering intelligence on Greenland.