How a return to multigenerational living is shifting the housing market