The soliton equations associated with the affine Kac–Moody Lie algebra G2(1)