what does the adrenal gland produce that is necessary for the sympathetic nervous system to function