Former Israeli foreign minister hopeful for 2-state solution, says Hamas is ‘main obstacle’