The Effect of the Lateral and Longitudinal Spread of Fast Protons on Strain Production in GaP and GaAs