Unified approach to ion transport and structural relaxation in amorphous polymers and glasses.