Proposed bill would ban new gas, diesel-powered cars in California by 2040