Two men have been locked up after they admitted dragging a man along a road and fracturing his eye in an assault at a Greenock retail park.