Large Eddy Simulations of roughened channel flows: estimation of the energy losses using the slope of the roughness