Confectionery giant Nestle is planning to cut almost 300 jobs, mainly in York and Newcastle, and move production of the Blue Riband chocolate biscuit to Poland.