Energy Peer-to-Peer Trading Model and Optimization Method for the Prosumers Based on Smart Community