Detection and up-conversion of infrared radiation using van der Waals heterostructures with graphene layers