Alq3: ab initio calculations of its structural and electronic properties in neutral and charged states