Dynamics of a Semi-Infinite Crystal Lattice in a Quasiharmonic Approximation. I. The Static Equilibrium Configuration of a Semi-Infinite Lattice