Magnetic-field enhanced photovoltaic performance of dye-sensitized TiO2 nanoparticle-based solar cells