Realistic calculations of the (π−, nγ) reaction