Afghan authorities commit to taking over former Bagram detention facility