Negative pion production by 800 MeV/A C, Ne, and Ar beams