Experimental and theoretical insights into the photophysical and electrochemical properties of flavone-based hydrazones