Photocurrent-based detection of terahertz radiation in graphene