Generative structured normalizing flow Gaussian processes applied to spectroscopic data