Branching Ratio for Radiative Pion Capture in 6Li and 12C