https://123dok.net/document/zx5ok0x4-gradient-theory-phase-transitions-boundary-contact-energy.html