Ab initio molecular orbital study of nitrogen-containing polyenes with donor-acceptor substituents: dipole moment and static first hyperpolarizability