Nanosized Optoelectronic Devices based on Photoactivated Proteins