Effects of packaging elements on the thermal hysteresis of piezoresistive pressure sensors