Sum Rule Approach to Radiative Pion Capture in Nuclei