Structure and sorption properties of porous copolymers of styrene, acrylonitrile and divinylbenzene