Money market funds are yielding north of 5%. Here's when it may pay to look elsewhere