Characterizing soot in TEM images using a convolutional neural network