General degree distance of graphs