Properties of turbulent and transitional electromagnetic boundary layers in channels with a uniform magnetic field