Investors' shift to low-cost funds brings average fees down