Herta wins Monterey IndyCar race