Molecular gas and dust influenced by massive protostars. Spectral surveys in the far-infrared and submillimeter 16 mei 2011