Garoppolo comes off bench to lead 49ers past Seahawks 27-7