Infrared absorption by graphene–hBN heterostructures