Optical nonlinearities in substituted symmetric cyanine dyes