A family of energy minimizing coarse spaces for overlapping schwarz preconditioners