A multifunctional setup to record FTIR and UV-vis spectra of organic molecules and their photoproducts in astronomical ices