Structural and functional analysis of cystatin E reveals enzymologically relevant dimer and amyloid fibril states