2 injured 49ers stars return to practice ahead of Week 5