Controlled synthesis and structural stability of alginate-based nanofibers