B.C. declares state of emergency as wildfires force thousands to leave their homes