Modelling the electronic properties of CdSeTe solar cells