One-step preparation of hierarchical structures using a dissipative process