Effect of dislocations on electrical and optical properties of n-type Al0.34Ga0.66N