Relativistic description of electron Bernstein waves