First-principles calculations to investigate the structural, electronic, optical, mechanical, and thermodynamic properties of double perovskites Ba2WB′O6 (B′ = Co, Fe, Mn, Ni, and Zn)