On the renormalization of models of quantum field theory in an external gravitational field with torsion