Effective computation of traces, determinants, and ζ-functions for Sturm–Liouville operators