Almost automorphic solutions for abstract functional differential equations