Human-like signatures of contour integration in deep neural networks