Proteins of pharmaceutical interest: folding, aggregation and structure-activity relationship