Applications of integrated magnetic microtraps