Computational study of the mechanism of cyclometalation by palladium acetate.