What is the function of the brushes in a DC motor