Multi-agent negotiation for coalition formation and management in electricity markets