Use-by dates are contributing to millions of pounds of wasted food each year. Here's when you can expect your foods to expire.