High-resolution Rutherford backscattering spectrometry with an optimised solid-state detector