The coalescent with partial selfing and balancing selection: an application of structured coalescent processes