Grain-scale mechanisms influencing the elution of ions from snow