Inclusive production of hadrons at high P/sub T/ in 200 and 300 GeV. pi. /sup -/p and. pi. /sup -/-nucleus collisions