A spatial decomposition of the Gini coefficient