Syria, Iraq agree on water-sharing formula