Devil's Staircase Phase Diagram of the Fractional Quantum Hall Effect in the Thin-Torus Limit