Phase separation of composite materials through simultaneous polymerization and crystallization