Calculation of longitudinal polarizability and second hyperpolarizability of polyacetylene with the coupled perturbed Hartree-Fock/Kohn-Sham scheme: Where it is shown how finite oligomer chains tend to the infinite periodic polymer