Pion charge-exchange reactions with nuclei