Detection of hepatitis B virus resistance to antivirals.