Josef Newgarden wins IndyCar Championship