Enhancement of the thermoelectric properties in bilayer graphene structures induced by Fano resonances