Chile declares state of emergency, curfew amid wildfire crisis