Peer-to-Peer Electricity Trading of Interconnected Flexible Distribution Networks Based on Distributed Ledger