Intraspecific competition affects the strength of individual specialization : an optimal diet theory method