The Phase Structure of Higher-Dimensional Black Rings and Black Holes