Coarse-graining diblock copolymer solutions: a macromolecular version of the Widom–Rowlinson model