Loop equations , matrix models , and N = 1 supersymmetric gauge theories