Channeling analysis in studying ion irradiation damage in materials containing various types of defects