Design of Peer-to-Peer Transactions for Multi-microgrids Based on Non-cooperative Game Theory and Distributed Machine Learning