Some of the waste produced while making crisps and chips is helping to protect and regenerate vulnerable salt marshes.