From Optical Bistability to Chaos