Optical bistability due to a two-photon absorption resonance with fluctuations