Topological properties of hierarchical networks