what are the similarities between bacteria and viruses