Studies of the interface of conducting polymers with inorganic surfaces