Double-plateau structure and the effect of the carrier-envelope phase on high-order harmonic generation from a Rydberg atom in a few-cycle laser pulse