Boundary layers in rotating weakly turbulent Rayleigh–Bénard convection