Coffee beans may not spoil in the traditional sense, but their flavor can fade without proper handling. Here’s how to store your stash to ensure the perfect brew every time