Many‐body lattice theory of elastic dielectric and its application to solids with NaCl structure