Self-adaptive water vapor permeability and its hydrogen bonding switches of bio-inspired polymer thin films