RoboFactory: Exploring Embodied Agent Collaboration with Compositional Constraints