The application of digital techniques for electron energy spectroscopy using a retarding field analyser