Afghan officials taken in ambush