Second virial coefficients of diblock copolymers