Swelling-assisted reduction of chitosan molecular weight in the solid state using hydrogen peroxide