Southern California wildfire threatens thousands of homes