Balance Optimization Subset Selection: a framework for causal inference with observational data