On exponential solutions in the Einstein–Gauss–Bonnet cosmology, stability and variation of G