Equivariant Morse Theory and the Yang-Mills Equation on Riemann Surfaces·