Taliban militants in Afghanistan have captured an area in the northeastern province of Takhar following heavy clashes with security forces.