Flintoff retires from all cricket