Calculation of pVT and vapor–liquid equilibria of copolymer systems based on an equation of state