Molecular structures and non-linear optical properties of donor–acceptor quinoid-type molecules