Studies of runaway electrons via Cherenkov effect in tokamaks