Morphology effects in MgH2 anode for lithium ion batteries