DFT study of crystal structure and electronic properties of metal-doped AlH3 polymorphs