Israeli prime minister Benjamin Netanyahu says he is giving up on trying to form a new government