Single-variable delay-differential equation approximations of the Fitzhugh-Nagumo and Hodgkin-Huxley models