China defends close encounter with American warship