Thermoelastic investigation of a quartz tuning fork used in infrared spectroscopy