Flick shocks Bayern, saying: 'I'll quit'