Nanostructured bone grafts with predetermined properties