How does the volume of a gas change in a container of fixed volume upon cooling?