Photoresponse of pentacene-based transistors