Sainsbury's has announced it will cut 3,000 jobs as it shuts down its remaining cafés and closes its patisserie and pizza counters.