when afghanistan got independence from india