What is the relationship between the change in volume and the work done on a gas during a compression process?