Firefighters have gained ground against two deadly California wildfires