Gate dependent photoresponse in self-assembled graphene p–n junctions*