Randy Jackson to quit American Idol after 12 years