49ers win nfc west