Fourier Spectral Physics Informed Neural Network: An Efficient and Low-Memory PINN