Anthony Gordon scored the winning penalty as Everton defeated Scottish champions Celtic 4-2 on penalties in Sydney, Australia.