Motivic equivalence of affine quadrics