Mechanisms contributing to different joint moments observed during human walking