Biomaterials with hierarchically defined micro- and nanoscale structure