Comparison of ion guiding through nanocapillaries and macrocapillaries in insulating materials