Effect of doping on the phase stability and photophysical properties of CsPbI2Br perovskite thin films