Structure of histone demethylase REF6