Compositional modulation and optical emission in AlGaN epitaxial films