Effects of swimming path curvature on the energetics of fish motion