Functional ecology of saltglands in shorebirds: flexible responses to variable environmental conditions