Two-thirds of retirees are planning a flexible retirement, but many don’t understand the potential tax implications