Spectral $$\varvec{\zeta }$$-functions and $$\varvec{\zeta }$$-regularized functional determinants for regular Sturm–Liouville operators