Controlling electronic structure of single-layered HfX3 (X=S, Se) trichalcogenides through systematic Zr doping