Neurodevelopmental mechanisms driving stress-responsive behavior and epilepsy