Structural insights into cofactor and substrate selection by Gox0499