Israel has also released almost 2,000 Palestinian detainees, with busloads greeted by huge crowds in the occupied West Bank.