SMS dit: Theoretical understanding of stability of alloys for hard-coating applications and design /