Size Generalization of Graph Neural Networks on Biological Data: Insights and Practices from the Spectral Perspective