Comparison of turbulent boundary layers over smooth and rough surfaces up to high Reynolds numbers