'Lincoln' leads Oscar race with 12 nominations