Bulk properties from finite‐cluster calculations. VI. A finite‐size perturbation theory for the Hartree–Fock energy of linear oligomers