Design considerations for measurement of gas sorption in polymers by pressure decay