Experimental verification of the Boltzmann relation in confined plasmas: Comparison of noble and molecule gases