Contacting device for heat and mass transfer