Nanoscale heterogeneity promotes energy dissipation in bone.