Biogenesis of β-barrel membrane proteins in bacteria and eukaryotes: evolutionary conservation and divergence