what 2 ways to viruses infect cells