Vector and axial-vector spectral functions and QCD