Automatic beam alignment for channeling measurements in Rutherford backscattering spectrometry