Spectral Functions in Mathematics and Physics