Gas sorption in polymers based on bisphenol‐A