Double Scattering of High-Energy Protons by Hydrogen and Carbon