state the different function of a protein