Mechanisms of resistance to antiviral agents