Council gives UN bigger role in Afghanistan