Yemen's feuding parties agree on transitional council