Beijing criticizes US for spying on UN officials and violating obligations as host country of UNHQ