Resonance production in the reactions KppK−π− and KppK−π−π0 at 10 GeV/c