Thermal mass flow-meters and flow controllers