A comparative study of optical properties and X-ray induced luminescence of octahedral molybdenum and tungsten cluster complexes.