Kondo effect in twisted bilayer graphene