Theoretical studies on the dihydrogen bonding between shortchain hydrocarbon and magnesium hydride