Performance comparison of front- and back-illuminated AlGaN-based metal–semiconductor–metal solar-blind ultraviolet photodetectors