Solvent-dependent complex reaction pathways of bromoform revealed by time-resolved X-ray solution scattering and X-ray transient absorption spectroscopy