Pentacene-based photodiode with Schottky junction