New method for the analysis of reflection high-energy electron diffraction:α−Sn(001)and InSb(001) surfaces