Thermoelectric transport of massive Dirac fermions in bilayer graphene