A Spectral Characterization of Exponentially Dichotomic and Hyperbolic Evolution Families