Geometrical effect on the measurement of stopping powers: Angle-dependent energy loss of 7-MeV protons in Be, Al, Cu, Ag, and Ta