Melting temperature of tungsten from two ab initio approaches