The effect of electron-phonon interaction on the thermoelectric properties of defect zigzag nanoribbons