California, 7 other states sign pact to spur EV sales