Israel has said it is cutting off its electricity supply to Gaza.