First principles study of the structural, electronic, mechanical and superconducting properties of WX (X=C, N). (February 2015)