Fire retardant coatings based on biomacromolecules: towards a sustainable approach