Forest fires in Chile have killed more than 50 people with flames spreading throughout densely populated areas in the Valparaiso region.