Modelling of the cathodic and anodic photocurrents from Rhodobacter sphaeroides reaction centres immobilized on titanium dioxide