how will you ifferenciate the sensory and motor neurons based on thier function