Senior Hamas official admits Israel attacks had been planned for years