On the Graovac-Pisanski index of a graph