A mechanistic study of the olefin metathesis reaction