Spectral Bias in Practice: The Role of Function Frequency in Generalization