The role of purification in the crystallization of proteins and nucleic acids