Intel to lay off 12,000 employees in major restructuring effort