Influence of Free Volumes on Functional Properties of Modified Chalcogenide Glasses and Oxide Ceramics