Relation between development of defects in materials and acoustic emission