One-π− and two-π− emission in antiproton annihilation on d and4He