Structural, elastic and electronic properties of transition metal carbides ZnC, NbC and their ternary alloys Zn x Nb 1-x C