A hierarchical model for concurrent material and topology optimization of three-dimensional structures