California passes first-in-nation emission rules for trains