Nanowire structure with exposed, regularly arranged nanowire ends and methods for making such a structure,