Comparing fast and frugal heuristics and optimal models