Evolution of C-type viral genes: inheritance of exogenously acquired viral genes