AlGaN-based ultraviolet photodetector with micropillar structures