Lab-on-valve in the miniaturization of analytical systems and sample processing for metal analysis