Selectivity in hydrodehalogenation of polychloro- and polybromobenzenes under multiphase conditions