The dynamics of intimate partner violence and the risk of pregnancy during the transition to adulthood