California lawmakers vote to extend Diablo Canyon as heat wave forces governor to declare grid emergency