UN Security Council backs agreement for NATO to train Afghan forces