Elastohydrodynamic lubrication of smooth and rough surfaces