Constraint-based modeling and simulation of cell populations