The association between adverse events across the lifespan and later-life health outcomes