An iterative uniform-price auction mechanism for peer-to-peer energy trading in a community microgrid