Duplication is more common among laterally transferred genes than among indigenous genes