Preparation, morphological and thermal characterization of novel nanocomposites based on poly (amide-ester-imide) containing amino acid and nano-Mg-doped fluorapatite surface modified with biodegradable diacid N-trimellitylimido-L-leucine