Simulation and modeling of compressible and incompressible turbulent channel flows over rough walls