Allocating Household Time: When Does Efficiency Imply Specialization?