Which structure receives input from the hypothalamus and basal ganglia and sends axons that release acetylcholine to widespread areas in the cerebral cortex?