A quasi-maximum likelihood method for estimating the parameters of multivariate diffusions