Band topology and the quantum spin Hall effect in bilayer graphene