Thermoelectric properties of gapped bilayer graphene