The effects of stimulus variability on overgeneralization and overdiscrimination errors in children and adults.