Thin film diamond UV photodetectors: Photodiodes compared with photoconductive devices for highly selective wavelength response