How Detroit's money problems got so bad