How is dopamine synthesized in the nervous system?