Heterogeneous styrene–divinylbenzene copolymers in collapsed and reexpanded states