The international community has condemned the move by the Taliban to close universities to women in Afghanistan.