Understanding the action of gas hydrate kinetic inhibitors