DeepCodec: Adaptive Sensing and Recovery via Deep Convolutional Neural Networks