Correction for backscattering and energy resolution in beta spectroscopy by surface barrier detectors