Photoconductive and photovoltaic response of high-dark-resistivity 6H-SiC devices