Greggs plans to close four UK factories, with 740 jobs potentially at risk