Behavioral and neural constraints on hierarchical representations.