Chinese president vows to defend all territory with military power