A study of A2 and g resonance production in π−p→K−K0p