Proteins and hair treatments