Structural, electronic, elastic and mechanical properties of NbC-based compounds: First-principles calculations