Self-consistent simulations of quantum cascade laser structures for frequency comb generation