Purification of proteins by precipitation