Optical bistability and instability