Topological Phase Transition and Z_{2} Index for S=1 Quantum Spin Chains.