A mathematical model of dopamine neurotransmission