Cliques, stable sets, and coloring in graphs with forbidden induced subgraphs