A novel adaptive penalty mechanism for Peer-to-Peer energy trading