On the deformation quantization of affine algebraic varieties