Explain why increasing the temperature of a gas in a closed, rigid container causes the pressure in the container to increase.