What role does dopamine play in motor functions?