Spectral operator learning for parametric PDEs without data reliance