Ab initio study of electronic effects in the ZnO/TiO2 core/shell interface: application in dye sensitized solar cells