Analysis of polyurethane and epoxy based materials by pyrolysis—mass spectrometry