Inherently flame-retardant rigid polyurethane foams with excellent thermal insulation and mechanical properties