Toshiba CEO to resign after $1.2 bln scandal