Structure of a novel oxidoreductase from Gloeobacter violaceus