Reversible crystallization and the rigid-amorphous phase in semicrystalline macromolecules