Simple singularities and N = 2 supersymmetric Yang-Mills theory