What are the functions of protein in organisms?