San Francisco 49ers begin stretch of five home games out of next six