Interplay between conformational and solvent effects in UV-visible absorption spectra: curcumin tautomers as a case study