Classification of grazing-incidence small-angle X-ray scattering patterns by convolutional neural network.