Characteristics ofπ − production in the collisions of 4.2 GeV/c/nucleond, α and12C beams with tantalum