Complex histories of gene flow and a mitochondrial capture event in a nonsister pair of birds