Tuning of spacer groups in organic dyes for efficient inhibition of charge recombination in dye-sensitized solar cells