how will you differentiate the sensory and motor neurons based om their function