DFT analysis of Oxygen and Lead vacancy on the phonon mode softening and electro-optic tensor in PZT