A computational investigation into the third-order nonlinear optical properties of cyanine-like polymethines for all-optical switching applications