Thousands of residents have been forced to flee their homes as fast-spreading wildfires rage near Los Angeles.