Crystal structure of the bifunctional protein Pria