49ers coach takes blame for critical error that turned game vs. Vikings