Conducting polymer interaction with gaseous substances II. PANI-H2O, PANI-NH3