Jim Harpest retires from post with city