An in situ method for observing wax crystallization under pipe flow