Geometric and electronic structure of zwitterionic push–pull polyenes for nonlinear optics