Segmental relaxation in macromolecules