Measurement of sweat rate and heat flux by wearable sensors