Interactions of stopped π− and of fast π− and π+ near the Δ(1232) resonance with calcium