Photoinduced currents in metal-barrier-metal junctions