Crystallization of nucleic acids and proteins