Diagnostics of Electron Beams Based on Cherenkov Radiation in an Optical Fiber