China chides US over UN law on seas amid tensions with Philippines