Excited state properties and quadratic optical nonlinearities in charged organic chromophores: theoretical analysis.