Egr1 is a sex-specific regulator of neuronal chromatin, synaptic plasticity, and behaviour