Study of excitation energies of doubly excited states and identification of EUV, SXR and HXR spectral lines in M1 transitions of W LXXIII and Au LXXVIII