Universal dependence of distances on nodes degrees in complex networks