Role of H-bond formation in the photoreactivity of curcumin