Evolution of Multifunctionalism in Enzymes: Specialist versus Generalist Strategies