Surprise attacks on Israel suggest ‘shocking’ failure of intelligence agencies