Future Afghan assistance tied to fair elections: Hagel