Electronic structure tuning during facile construction of two-phase tungsten based electrocatalyst for hydrogen evolution reaction