A quartz crystal microbalance technique to study wax crystallization in the presence of gas