Star clusters and stellar evolution. I. Improved synthetic color-magnitude diagrams for the oldest clusters.