Transport of runaway and thermal electrons due to magnetic microturbulence