A density functional study of borane and alane monoammoniate (BH3NH3, AlH3NH3)