Protein can be switched on to conduct electricity like a metal