Content-Adaptive Downsampling in Convolutional Neural Networks