Spallation and fission of nuclei as a result of the capture of stopped negative pions