Light induced degradation in mixed-halide perovskites