Effects of mass distribution on the mechanics of level trotting in dogs