Thermodynamics, phase transition and Joule–Thomson expansion of 4-D Gauss–Bonnet AdS black hole