Measuring ionic concentrations in sweat