What kinds of structures do caterpillars pupate on?