Photocurrent measurements of pentacene-based devices