Synergistic Weak-Strong Collaboration by Aligning Preferences