Preparation of oxalamido-​substituted tricyclic inhibitors of hepatitis B virus