Optical and transport properties of defective non-crystalline solids