Electron energy band spectrum of CsPbBr3 and CsPbI3 crystals modified by spin-orbit interaction