Modification of Polyaniline-Based Gas Sensor by Electrophoretic Deposition of Metal Nanoparticles in Ionic Liquids