Impact of Br-doping on the optical and optoelectronic properties of CsPbCl3 crystals