A differential retarding potential method for improving ion-beam kinetic energy resolution