Development pathway from chitin-based organisms to chitosan-based photoresponsive thin-films with modulation in physiochemical properties during irradiation