Effective properties of multiphase composites made of elastic materials with hierarchical structure