The structure, mechanical and electronic properties of WSi2 from first-principles investigations