Structure and function of the SWIRM domain, a conserved protein module found in chromatin regulatory complexes