Here’s exactly how to decide if you should put money in a CD