Synthesis, characterization, material properties and sensor application study of polyaniline/niobium doped titanium dioxide nanocomposites