Text this: Photo-enhanced output in memdiode devices based on hybrid materials