An integrated computational tool to model the broadening of the absorption bands of flexible dyes in solution: cationic chromophores as test cases.