Spectrally Adapted Physics-Informed Neural Networks for Solving Unbounded Domain Problems