Simple and complex sorption−solution isotherms for membrane polymers: a statistical thermodynamic fluctuation theory