Molecular mechanisms of failure in polymer nanocomposites.