Pocklington stately home to become food bank and community centre