Study of A_2 production in the reaction π^-p→K^0K^-p at 50, 100, and 175 GeV/c