Man who unlocked nearly 2 million AT&T phones gets 12 years