Electrical performance analysis of Al0.5Ga0.5 N/AlN/Sapphire-based MSM UV detector for high photocurrent