What would happen to the pressure of a closed sample of gas whose temperature increased while its volume decreased? Explain your reasoning in terms of the kinetic molecular theory of gases.