Pricing Mechanisms for Energy Management in Smart Cities