A correlation between the defect states and yellow luminescence in AlGaN/GaN heterostructures