Variation of cone metrics on Riemann surfaces