China and the Philippines traded accusations after an encounter between their vessels in contested South China Sea waters