Retrieval of vertical concentration profiles from OSIRIS UV-visible limb spectra