Peridynamic theory of solids from the perspective of classical statistical mechanics