The defect diffusion model and the properties of glasses and liquids