Arrest warrants have been issued for Israeli Prime Minister Benjamin Netanyahu, former defence secretary Yoav Gallant and a senior Hamas commander by the International Criminal Court (ICC).