Proactive and reactive control by the medial frontal cortex