Unveiling functions of the visual cortex using task-specific deep neural networks