UV/VIS and IR spectroelectrochemical investigations of small molecules and redox-active biomolecules using optically transparent diamond electrodes