Soft x-ray emission studies of the bulk electronic structure of AlN, GaN, and Al0.5Ga0.5N