Structural and functional characterization of factor XII