China has demonstrated increased military competence: top Pentagon official