Domain rearrangements in protein evolution.