What were the articles of confederation and why did they fail?