Energy and electron transfers in photosensitive chitosan.