Ultrasound-assisted conversion of cellulose into hydrogel and functional carbon material