The Riemannian geometry of the Yang-Mills moduli space