Relationship between volume and pressure in gases