Two-dimensional topological insulator state and topological phase transition in bilayer graphene