Thermal degradation of polysiloxane and polyetherester containing benzoxazine moieties in the main chain