Use of polymers having sulfur, with or without nitrogen, oxygen, or carbon only, in the main chain, as mould material