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