Strange-particle production in π−p and π+p collisions at 4 GeV/c