Heterostructures with diffused interfaces: Luminescent technique for ascertainment of band alignment type