Application of keV and MeV ion microbeams through tapered glass capillaries