Conducting polymer interaction with gaseous substances I. Water