Measuring and controlling unfairness in decentralized planning of energy demand