Flame-retardant polyurethanes from phosphorus-containing isocyanates