Lightning-sparked fires rage across California, tens of thousands flee