US threatens Taliban with ‘costs’ after ban on Afghan women and girls from school