Phase transitions induced by white noise in bistable optical systems