Isothermal and nonisothermal permeation of an organic vapor through a dense polymer membrane