An ab initio calculation on the WO66− octahedron with an application to its luminescence