Polarity determination for GaN/AlGaN/GaN heterostructures grown on (0001) sapphire by molecular beam epitaxy