Negative to positive magnetoresistance transition in functionalization of carbon nanotube and polyaniline composite