Lignin as a flame retardant for biopolymers