Experimental and theoretical study of density jumps on smooth and rough beds