Gene regulatory mechanisms underlying sex differences in brain development and psychiatric disease