China’s missile tests ‘contradict vow not to militarise South China Sea’