Landau levels for relativistic particles: Einstein–Brillouin–Keller quantization approach