Bio-based nickel alginate and copper alginate films with excellent flame retardancy: preparation, flammability and thermal degradation behavior