Elastic constants and stability of anharmonic crystals.