Here's how to know your berries' shelf life before you even leave the store.