Photocrosslinkable chitosan hydrogels and their biomedical applications