Deuteron- and alpha-particle-induced K-shell ionisation of W and Au atoms