Residents of four provinces in southern Thailand have been warned that haze from Indonesia's forest fires has reached hazardous levels.