Effects of pressure on the ionic transport and photoelectrical properties of CsPbBr3