Monte Carlo simulation of polymerization-induced phase separation.