Unraveling the mechanism of nanoscale mechanical reinforcement in glassy polymer nanocomposites