S-factor of 14N(p,γ)15O at astrophysical energies