Association between autism spectrum disorder and peripartum events: a case–control study