On the difference between the spectral radius and the maximum degree of graphs