Gas sorption and transport in substituted polycarbonates