Density dependence of the MIT bag parameters from the field theory of hadrons