Feature-capturing full-waveform inversion using a convolutional neural network