Two Laplacians for the distance matrix of a graph