Biophysical and evolutionary assessment of the emergence of domain swapping within the Fox family of transcription factors