Mode of action of condensed-and gaseous-phase fire retardation in some phosphorus-modified polymethyl methacrylate-and polystyrene-based bulk polymers