Structural and electronic properties of in-plane phase engineered WSe2: A DFT study