Morphological and functional diversification during kelp evolution