Optical bistability through nonlinear dispersion and absorption