what is an intermediate in a reaction mechanism