At least 50 people have died and hundreds were injured when a warehouse for hazardous chemicals caught fire and exploded.