When is sympatric speciation truly adaptive? An analysis of the joint evolution of resource utilization and assortative mating