The liquid-vapor interface of the restricted primitive model of ionic fluids from a density functional approach