Synthesis and flame‐retardant properties of phosphorus‐containing polymers based on poly(4‐hydroxystyrene)