Applications of the quartz crystal microbalance in energy and environmental sciences: From flow assurance to nanotechnology