Thickness-dependent efficiency of directly grown graphene based solar cells