Thermal and calorimetric investigations of some phosphorus-modified polymeric materials