Theoretical prediction of the structural, elastic, electronic and optical properties of Zr3N4 and Hf3N4 compounds