Interaction between the intrinsic second- and third-order optical fields in an Al0.53Ga0.47N/GaN heterostructure