Biomacromolecules as novel green flame retardant systems for textiles: an overview