Strangeness production in pA and AA collisions at 158A GeV