How The New York Times mines data to pick articles to promote on Facebook and Twitter