49ers rally to win NFC Championship