Humans trade off whole-body energy cost to avoid overburdening muscles while walking