Study of structural, electronic and optical properties of tungsten doped bismuth oxychloride by DFT calculations.