Photoactive natural protein could reshape the future of electronic materials