Nested Dictionary Learning for Hierarchical Organization of Imagery and Text