A theoretical study of lithium absorption in amorphous and crystalline silicon