Graphene–dye hybrid optical sensors