Fractals to model hierarchical materials and structures