Exploring optimal UV emission windows for AlGaN and AlInN alloys grown on different templates