Effects of the Buffer Layers on the Performances of (Al,Ga)N Ultraviolet Photodetectors