Simulation and UV–visible spectra of organic dyes in subcritical and supercritical carbon dioxide