Asymptotic stability for functional differential equations