While 529 accounts are tailor-made for educational expenses, they aren't always optimal, the retirement experts say.