relationship between pressure and density