Semigroups and stability of nonautonomous differential equations in Banach spaces