Comparison of GaN and 6H-SiC p-i-n photodetectors with excellent ultraviolet sensitivity and selectivity