Attackers have taken a number of hostages in Afghanistan's eastern city of Jalalabad in the latest in a spate of deadly incidents in the city.