Beijing's reaction comes after US secretary of state accused China of targeting vessels flying Panama flag