working of brushes in electric motor