Study of thin flim polyaniline nanocomposites and fabrication of junctions based on them for various characteristics including gas sensing properties