Radiative Capture of Intermediate-Energy Protons to High-Lying States in Light Nuclei