VMgH4 and MoMgH4 as Mg-based hydrides for hydrogen storage: A first-principles comparative study