Thermal mass flowmeters