P–v criticality and heat engine efficiency for Bardeen Einstein–Gauss–Bonnet AdS black hole