Union formation and partner choice