Defect Structure and Properties of Nanomaterials