Comparison of two procedures for the design of dye-sensitized nanoparticles targeting photocatalytic water purification under solar and visible light