Mesoscopic nitrogen-doped TiO2 spheres for quantum dot-sensitized solar cells