Comments from German Chancellor Olaf Scholz and French foreign minister follow US president-elect’s Greenland threats