Spectral determinants and zeta functions of Schrödinger operators on metric graphs