China says Arctic operations legal, slams U.S. over Greenland remarks