Dichotomy and existence of periodic solutions of quasilinear functional differential equations