High-resolution solar and atmospheric spectroscopy from the Jungfraujoch high-altitude station