A model for mass transfer with and without chemical reaction in packed towers