Photovoltaic effects in metal/semiconductor barrier structures with boron-doped polycrystalline diamond films