Fluctuations in optical bistable systems