Taliban take districts in northern Afghanistan from fleeing troops