Use of polyesters or derivatives thereof as mould material