Theoretical study of the electronic states of AlO and AlO