Relativistic effects at the correlated level. An application to interhalogens