The distribution of Lyman-limit absortion systems during and after reionization