Taiwan pledges to enhance national security amid China pressure