Summation of free-energy diagrams of an anharmonic crystal and equation of state for a Lennard-Jones solid