Structural Basis of Gene Regulation by the Grainyhead Transcription Factor Superfamily