Estimating the benefits of cooperation in a residential microgrid: A data-driven approach