Electron affinity and inversion distortion of dibenzo-p-dioxin