Using machine learning to identify people in historical photographs