Synthesis and spectral studies of polyamide-phosphate esters from phosphine-oxide-containing diols with aryl phosphorodichloridates and their thermal and flammability behaviour