Gender differences in the association between adverse events in childhood or adolescence and the risk of premature mortality