A canonical duality approach for the solution of affine quasi-variational inequalities