Heavy quark production at e+e- colliders in three- and four-jet events